package routers

import (
	"beetest/controllers"
	"github.com/astaxie/beego"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Router("/admin", &controllers.LoginController{},"*:Index")
	beego.AutoRouter(&controllers.CommonController{})
	beego.AutoRouter(&controllers.LoginController{})
}
